import request from '@/utils/request'
import {SERVER_URL} from '@/utils/common'
export function  getZuulRouteListPage(params) {
  return request({
    url: SERVER_URL.SYSTEM_SERVER+ '/zuul/getZuulRouteListPage',
    method: 'post',
    data:params
  })
}

export function saveOrUpdate(params){
  return request({
    url: params.id ? SERVER_URL.SYSTEM_SERVER+ `/zuul/update`: `/zuul/save`,
    method: 'post',
    data:params
  })
};
